package com.com.ruandi.test15;

//创建图形类
public class Graphic {
    //返回面积
    public double getArea(){
        return 0;
    }
    //返回周长
    public double getPerimeter(){
        return 0;
    }
    //返回图形信息
    public String showInfo(){
        return "";
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
